From: Jonathan Lebon Date: Tue, 17 Apr 2018 19:21:04 +0000 (-0400) Subject: ci: use gpgme scratch build to workaround issues X-Git-Tag: archive/raspbian/2022.1-3+rpi1~1^2~205^2^2~46 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=09dc2a87724111e83249b42dd4c4faa5dd2c2840;p=ostree.git ci: use gpgme scratch build to workaround issues Temporarily work around gpgme issues until the package gets into stable. For more information, see: https://src.fedoraproject.org/rpms/gpgme/pull-request/3 https://github.com/ostreedev/ostree/pull/1539 Closes: #1540 Approved by: cgwalters --- diff --git a/ci/libpaprci/libbuild.sh b/ci/libpaprci/libbuild.sh index 074494f0..9ad417b2 100644 --- a/ci/libpaprci/libbuild.sh +++ b/ci/libpaprci/libbuild.sh @@ -60,6 +60,12 @@ pkg_builddep() { # This is sadly the only case where it's a different command if test -x /usr/bin/dnf; then dnf builddep -y "$@" + + # XXX: tmp hack -- see + # https://github.com/ostreedev/ostree/pull/1539 + if rpm -q gpgme | grep -q gpgme-1.9.0-6.fc27; then + dnf install -y https://kojipkgs.fedoraproject.org//packages/gpgme/1.10.0/4.fc27/x86_64/{gpgme{,-devel},python{2,3}-gpg}-1.10.0-4.fc27.x86_64.rpm + fi else yum-builddep -y "$@" fi